package cn.star.jots.filmSort.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class FilmSortVO {
    @ApiModelProperty(value = "主键id")
    Long id;
    @ApiModelProperty(value = "电影id")
    Long filmId;
    @ApiModelProperty(value = "顺序")
    Integer sort;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date updateTime;
    @ApiModelProperty(value = "电影的中文名称")
    String filmName;
    @ApiModelProperty(value = "电影的英文名称")
    String englishName;
    @ApiModelProperty(value = "电影的上映地区")
    String region;
    @ApiModelProperty(value = "电影的上映时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    Date releaseDate;
    @ApiModelProperty(value = "电影的上映年份")
    String releaseYear;
    @ApiModelProperty(value = "电影的时长")
    String duration;
    @ApiModelProperty(value = "电影剧情简介")
    String synopsis;
    @ApiModelProperty(value = "电影导演id")
    Long directorId;
    @ApiModelProperty(value = "电影导演名称")
    String directorName;
    @ApiModelProperty(value = "电影海报图片地址")
    String poster;
    @ApiModelProperty(value = "电影评分")
    Double filmRating;
}
